<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>后台主界面</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href='<?php echo $static_url; ?>common/css/admin.css' type="text/css" />
<script src="<?php echo $static_url; ?>common/js/jquery-1.8.3.min.js" type="text/javascript"></script>
<script src="<?php echo $static_url; ?>common/js/common.js" type="text/javascript"></script>

<link rel="stylesheet" href='<?php echo $static_url; ?>common/css/daily_record.css' type="text/css" />
</head>
<body class="body_background">
	<div>
		<?php echo $header_nav; ?>
		<div class="common_container clearfix">
			<div class="crumbs">
				<span class="catalogue">名人</span>
				<a href="/www/admin/star/star_lists.php">名人列表</a> |
				<a href="/www/admin/star/star_add.php">添加名人</a> |
				<a onclick="add_empty();" href="javascript:;">添加空白档</a> | 
				<a href="/www/admin/star/star_recover.php">回收站</a> |
				<a href="/www/admin/star/star_search.php">搜索名人</a>
			</div>
			<table class="record_tips"><tr><td class="colorstyle">日志</td></tr></table>
			<ul class="ul_floatleft clearfix">
				<li>
					<a href="/www/admin/star/star_lists.php">名人列表</a>
				</li>
				<li>
					<a href="/www/admin/star/star_add.php">添加名人</a>
				</li>
				<li>
					<a onclick="add_empty();" href="javascript:;">添加空白档</a>
				</li>
				<li>
					<a href="/www/admin/star/star_recover.php">回收站</a>
				</li>
				<li>
					<a href="/www/admin/star/star_search.php">搜索名人</a>
				</li>
			</ul>
		</div>
	</div>
<script>
//添加空白档
function add_empty(){
	$.ajax({
		type: "POST",
		url: "/admin/star/ajax/ajax_add_empty.php",
		dataType:'json',
		success: function(msg){
			alert(msg.string);
			window.location.href="/www/admin/star/star.php";
		}
	});
}
</script>
</body>
</html>